package org.commandpackage;

public abstract class Command {
//	封装执行者，创建一个全局的封装者
	protected final Receiver receiver;
	
	public Command(Receiver receiver) {
		this.receiver = receiver;
	}

	//	每个命令必须有一个执行的方法
	public abstract void execute();
}
